//
//  SchoolViewCell.h
//  Hxcsfw
//
//  Created by 企友软mac on 2017/10/27.
//  Copyright © 2017年 企友软mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "iCarousel.h"
#import "CCPScrollView.h"

@protocol SchoolHeadViewCellDelegate <NSObject>

- (void)delegatBtnClick:(UIButton *)button;
- (void)delegatiCarClick:(NSInteger)index;
- (void)delegatScrollClick:(NSInteger)index;

@end

@interface SchoolHeadViewCell : UITableViewCell <iCarouselDelegate, iCarouselDataSource>

@property (weak, nonatomic) IBOutlet iCarousel *iCarouselView;
@property (nonatomic,strong) NSMutableArray *arrayOfAds;
@property (nonatomic,weak) UIPageControl *pageControl;
@property (nonatomic,strong) NSTimer *timer;

@property (strong, nonatomic) IBOutlet UIView *lbScrollView;
@property (nonatomic,strong) NSMutableArray *arrTitle;
@property (nonatomic,strong) NSMutableArray *arrLink;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *spaceCon;

@property (weak, nonatomic) id <SchoolHeadViewCellDelegate> delegate;//这个是代理属性

@end
